package com.xykj.deploy.host.service.impl;

import com.xykj.deploy.host.entity.Host;
import com.xykj.deploy.host.mapper.HostMapper;
import com.xykj.deploy.host.service.IHostService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

/**
 * @Description: 主机表
 * @Author: jeecg-boot
 * @Date:   2024-11-30
 * @Version: V1.0
 */
@Service
public class HostServiceImpl extends ServiceImpl<HostMapper, Host> implements IHostService {

    @Resource
    private HostMapper hostMapper;

    @Override
    public Host getByIp(String hostIp) {
        return hostMapper.getByIp(hostIp);
    }
}
